﻿#ifndef SORTLOGMODEL_H
#define SORTLOGMODEL_H

#include <QDateTime>
#include <QSortFilterProxyModel>

class SortLogModel : public QSortFilterProxyModel
{
public:
	explicit SortLogModel(QObject* parent = nullptr);

	int col;
	QString filter;
	QDateTime date_1;
	QDateTime date_2;

	// QSortFilterProxyModel interface
protected:
	//	bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const;

		// QSortFilterProxyModel interface
protected:
	bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const;
};

#endif // SORTLOGMODEL_H
